package com.fxc.gtm.aac.work.api.feign;

import com.fxc.gtm.aac.work.api.bo.SysUserBo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;


@FeignClient(name = "gtm-aac-service")
public interface SysUserApi {
    /***
     * 根据Id获取用户信息
     * @param userId
     * @return
     */
    @GetMapping("/api/sysUser/getUserInfoById")
    SysUserBo getUserInfoById(@RequestParam("userId") Long userId);
}
